package figure8.events;

import java.util.EventObject;

import figure8.Track;

public class DownloadProgressedEvent extends EventObject {
	private Track track;
	private float progress;
	
	public DownloadProgressedEvent(Object source, Track track, float progress) {
		super(source);
		
		this.progress = progress;
		this.track = track;
	}
	
	public Track getTrack() {
		return track;
	}

	public float getProgress() {
		return progress;
	}
}
